import React , {Component} from 'react';

class Name extends Component {
    constructor(props){
        super(props)
        // this.name = this.props.name
        this.name = this.props.name
    }

    render(){
        return (
            <div>my name is {this.name}</div>
        )
    }
}

export default Name